package com.sj.domain;

import lombok.*;
import lombok.experimental.Accessors;
import org.springframework.data.jpa.domain.AbstractPersistable;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by yangrd on 2018/3/8
 **/

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Entity
@Table(name = "t_authority")
public class Authority extends AbstractPersistable<Long>{

    private String name;

    private String description;

}
